import request from '@/utils/request'
const serviceName = 'Property'
//  列表
export function queryPropertyTypes(data) {
  return request({
    url: serviceName + '/PropertyType/QueryPropertyTypes',
    method: 'post',
    data
  })
}
//  详情
export function getPropertyType(data) {
  return request({
    url: serviceName + '/PropertyType/GetPropertyType',
    method: 'post',
    data
  })
}
//  新增 修改
export function savePropertyType(data) {
  return request({
    url: serviceName + '/PropertyType/SavePropertyType',
    method: 'post',
    data
  })
}
//  删除
export function deletePropertyTypes(data) {
  return request({
    url: serviceName + '/PropertyType/DeletePropertyTypes',
    method: 'post',
    data
  })
}

export default {
  queryPropertyTypes,
  getPropertyType,
  savePropertyType,
  deletePropertyTypes
}
